home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Purity / Purity #52 (1995-10-30)(PackMAN)(DE)[WB, FFS].zip / Purity #52 (1995-10-30)(PackMAN)(DE)[WB, FFS].adf / Cal / cal.doc < prev    next >
Text File  |  1995-10-01  |  2KB  |  111 lines

  1.  
  2.  
  3.     cal, written by Andreas Tetzl
  4.          this is FREEWARE !
  5.  
  6.  
  7. INTRODUCTION
  8.  
  9.     Cal is a command similar to the one found on UNIX systems.
  10.     It shows a calendar of the current month or any other month.
  11.  
  12. DISTRIBUTION
  13.  
  14.     Cal is FREEWARE ! You are free to distribute the archive
  15.     as long as no files are removed or changed.
  16.     Commercial use or inclusion in other software packages
  17.     is prohibited without the permission of the author.
  18.  
  19. REQUIREMENTS
  20.  
  21.     Cal needs at least Kickstart 2.0 v37.
  22.     If you have Kickstart v38+ installed, it will use the
  23.     locale.library.
  24.  
  25. INSTALLATION
  26.  
  27.     Just copy it to your c directory or somewhere you want
  28.     - that's all.
  29.  
  30. CLI OPTIONS
  31.  
  32.     MONTH/N,YEAR/N
  33.  
  34.     If you specify no arguments, the current month will be
  35.     printed.
  36.     You can specify a month and a year to print a month
  37.     other than the current.
  38.  
  39.     format:
  40.      MONTH: the number of month (1-12)
  41.      YEAR:  the year in short or long form (e.g. 95 or 1995)
  42.  
  43.     examples:
  44.      cal 4          ; april of the current year
  45.      cal 3 1996     ; mar-1996
  46.      cal 2 93       ; feb-1993
  47.      cal 12 2000    ; dec-2000
  48.      cal 1 3        ; jan-2003
  49.  
  50. ENVIRONMENT VARIABLES
  51.  
  52.     The program will produce an output like this:
  53.  
  54.        September 1995
  55.     Su Mo Tu We Th Fr Sa
  56.                     1  2
  57.      3  4  5  6  7  8  9
  58.     10 11 12 13 14 15 16
  59.     17 18 19 20 21 22 23
  60.     24 25 26 27 28 29 30
  61.  
  62.     If you prefer an output with sunday as last weekday, you
  63.     have to set the environment variable SUNDAY_LAST.
  64.  
  65.     Use 'setenv SUNDAY_LAST 1' to set the variable.
  66.     Then execute cal and you will get an output like this:
  67.  
  68.        September 1995
  69.     Mo Tu We Th Fr Sa Su
  70.                  1  2  3
  71.      4  5  6  7  8  9 10
  72.     11 12 13 14 15 16 17
  73.     18 19 20 21 22 23 24
  74.     25 26 27 28 29 30
  75.  
  76.  
  77.     If you want SUNDAY_LAST set up permanently you have to copy
  78.     the variable to ENVARC.
  79.  
  80.     use:
  81.     copy ENV:SUNDAY_LAST ENVARC:
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.     hope you like it ...
  92.  
  93.     so long,
  94.             Andreas
  95.  
  96.  
  97.  
  98.  
  99.     Andreas Tetzl, Liebethaler Str. 18, 01796 Pirna, Germany
  100.     Tel: +49-(0)3501-523854        email: atetzl@hawk.sax.de
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.